package 笔试.奇安信;

import java.util.Arrays;
import java.util.Scanner;

public class Demo3 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int p = sc.nextInt();//平时占比
        int q = sc.nextInt();//期末占比
        int[] nums = new int[n];
        for (int i = 0; i < n; i++) {
            nums[i] = sc.nextInt();
        }
        int res = 0;
        int pre = 101;
        int ping = 100;
        Arrays.sort(nums);
        for (int i = n-1; i >=0 ; i--) {
            if(i==n-1){
                pre--;
            }else{
                if(nums[i]!=nums[i+1]){
                    pre--;
                }
            }
            float score = (p*pre+q*nums[i])/100; //注意
            if(score >= 60){
                res++;
            }else{
                break;
            }
        }

        System.out.println(res);
    }
}
